Release 10.1A: OpenEdge Development:
Progress Dynamics Managers API Reference


generateDataFields

This procedure creates DataField records for a table. This procedure creates a SmartDataField for each field in the table.

You can pass in a list of tables for which to generate fields. This means that you can exclude certain tables, instead of having to specify all tables. For example, if all tables except one are to be generated, a string like “!SomeTable,*” can be passed into the procedure.

Location: ry\app\rydesmngrp.i

Parameters:

INPUT pcDataBaseName AS CHARACTER INPUT pcTableName AS CHARACTER

A comma-separated list of tables, in CAN-DO ( ) format, that are to have fields generated.

INPUT pcProductModuleCode AS CHARACTER INPUT pcResultCode AS CHARACTER INPUT plGenerateFromDataObject AS LOGICAL INPUT pcDataObjectFieldList AS CHARACTER INPUT pcSdoObjectName AS CHARACTER INPUT pcObjectTypeCode AS CHARACTER INPUT pcOverrideAttributes AS CHARACTER INPUT pcFieldNames AS CHARACTER Notes: None

Examples: See the main block in af\app\afgengenob.i.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095